import request from '@/utils/request'

// 添加产品图片
export function addProductImage(data) {
  return request({
    url:'/tmall_springboot/productImages',
    method:'post',
    data:data,
  })
}

// 获取产品图片列表

export function getProductImages(params) {
  return request({
    url:'/tmall_springboot/products/productIamges',
    method:'get',
    params:params,
  })
}

// 删除产品图片

export function deleteProductImage(data) {
  return request({
    url:'/tmall_springboot/productImages/del',
    method:'post',
    data:data,
  })
}